package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("itrip_comment")
public class ItripComment implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("hotelId")
    private Long hotelId;
    @TableField("productId")
    private Long productId;
    @TableField("orderId")
    private Long orderId;
    @TableField("productType")
    private Integer productType;
    @TableField("content")
    private String content;
    @TableField("userId")
    private Long userId;
    @TableField("isHavingImg")
    private Integer isHavingImg;
    @TableField("positionScore")
    private Integer positionScore;
    @TableField("facilitiesScore")
    private Integer facilitiesScore;
    @TableField("serviceScore")
    private Integer serviceScore;
    @TableField("hygieneScore")
    private Integer hygieneScore;
    @TableField("score")
    private Integer score;
    @TableField("tripMode")
    private String tripMode;
    @TableField("isOk")
    private Integer isOk;
    @TableField("creationDate")
    private Date creationDate;
    @TableField("createdBy")
    private Long createdBy;
    @TableField("modifyDate")
    private Date modifyDate;
    @TableField("modifiedBy")
    private Long modifiedBy;
}
